package com.linzm.behavioraltype.mediator05;

import java.util.Date;

/**
 * @Author zimingl
 * @Date 2023/4/16 3:32
 * @Description: ChatRoom
 */
public class ChatRoom {
    public static void showMessage(User user, String message) {
        System.out.println(new Date()
                + " [" + user.getName() + "] : " + message);
    }
}
